<%--
  Created by IntelliJ IDEA.
  User: 甲乙饼叮叮
  Date: 2019/10/15
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="display:block;" class="tabpage">
    <h3 class="glyphicon glyphicon-grain">我的病历</h3>

    <div class="counts">
        <div class="texts">
            <h4><b>温馨提示:</b></h4>
            <span>可以将本人在医院就医的病历信息上传此页管理,在需要的时候可以随时查看浏览</span>
        </div>
        <div class="btn-kat">
            <a href="<%=request.getContextPath()%>/personal/medtotal"><button class="btn btn-success" onclick="">上传病历</button></a>&nbsp;&nbsp;
        </div>
        <c:forEach items="${requestScope.medicalVos.list}" var="o">
            <div style="margin-bottom: 50px;">
                <div class="list" onclick="location.href='${pageContext.request.contextPath}/personal/medmore?mid=${o.id}'" style="cursor:pointer;">
                    <div class="leftlist">
                        <h4>${o.iname}</h4><br>
                        <span style="color: rgb(180, 180, 180)">知医治</span>
                    </div>
                    <div class="rightlist">
                        <span style="font-size: 2em;">${o.months}/${o.days}</span><br>
                        &nbsp;<span style="color: rgb(180, 180, 180)">${o.years}</span>
                    </div>
                </div>
            </div>
        </c:forEach>
    </div>
</div>

<div style="margin: 0 auto;"><%@ include file="../ajax/medpage.jsp"%></div>
